package com.ayf.payment.game.api.entity;

import com.ayf.payment.game.api.entity.base.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;

@Data
@Table(name = "g_site_statistics")
public class SiteStatistics extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 商户ID
     */
    @Column(name = "merchant_id")
    private Integer merchantId;

    /**
     * 站点URL
     */
    @Column(name = "site_url")
    private String siteUrl;

    /**
     * 访问次数
     */
    @Column(name = "visit_count")
    private Integer visitCount;

    /**
     * 登录次数
     */
    @Column(name = "login_count")
    private Integer loginCount;

    /**
     * 订单数量
     */
    @Column(name = "order_num")
    private Integer orderNum;

    /**
     * 充值成功金额 单位:元
     */
    @Column(name = "recharge_amt")
    private BigDecimal rechargeAmt;

    /**
     * 收入金额 单位:元
     */
    @Column(name = "income_amt")
    private BigDecimal incomeAmt;

    /**
     * 生成日期 格式:yyyyMMdd
     */
    @Column(name = "generate_time_index")
    private Integer generateTimeIndex;

    /**
     * 访问人数
     */
    @Column(name = "visit_people_count")
    private Integer visitPeopleCount;

    /**
     * 登录人数
     */
    @Column(name = "login_people_count")
    private Integer loginPeopleCount;

}